package com.ruoyi.mdm.service;

import com.ruoyi.mdm.domain.SpuInfoEntity;
import org.springframework.data.elasticsearch.core.SearchHits;

import java.util.List;

/**
 * ES SPU信息查询接口
 *
 * @author shiseido
 * @date 2025-03-01
 */
public interface ISpuInfoService {

    public SearchHits<SpuInfoEntity> searchSpuInfo(SpuInfoEntity spuInfoEntity);

    public SpuInfoEntity findById(Long id);

    public int add(SpuInfoEntity spuInfoEntity);

    public int addAll(List<SpuInfoEntity> spuInfoEntityList);

    public int delete(Long id);

    public int deleteAll();
}
